/*
 * Node.h
 *
 *  Created on: 2011-04-12
 *      Author: tony
 */

#ifndef NODE_H_
#define NODE_H_

#include <stdlib.h>

class Node {
public:
	Node(char d, Node* n = NULL);
	virtual ~Node();

	char get(){ return data; }
	void set(char d){ data = d; }
	Node* getNext(){ return next; }
	void setNext(Node* n){ next = n; }
private:
	char data;
	Node* next;
};

#endif /* NODE_H_ */
